package org.msd.dao;
import org.apache.ibatis.annotations.Param;
import org.msd.model.Order;

import java.util.List;

public interface OrderDao {
    /*
    订单的dao接口
     */
    int  insertOrderDaO(@Param("Ordersfogoods")int Ordersfogoods,@Param("username")String username,@Param("Orderprice")double Orderprice);//增加订单

    /*
    根据username查询所有订单
     */
    List<Order> SERErOrder(@Param("username")String username);
    /*
    查询所有订单
     */
    List<Order> QuserOrder();
}
